package com.uw.scenic.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 *
 * 用于案例展示
 * 用户传输对象
 */
@Data
@ApiModel(value = "用户Bo对象",description = "从客户端，由用户传入的数据，封装在此entity中")
public class UserDTO  {


    @ApiModelProperty(value = "id",name = "id",example ="1",required =true)
    private Integer id;

    @ApiModelProperty(value = "用户名",name = "username",example ="张三",required =true)
    private String username;

    @ApiModelProperty(value = "密码",name = "password",example ="123456",required =true)
    private String password;
}
